package tec;

class Sportif
    extends PassagerAbstrait{
    
    public Sportif(String nom, int destination, Caractere c){
	super(nom, destination,c);
    }

    protected  void choixPlaceMontee(Bus b){
	if(b.aPlaceDebout())
	    b.demanderPlaceDebout(this);
	else{
	    if(b.aPlaceAssise())
		b.demanderPlaceAssise(this);
	}
    }

}